#include "staticmodel.h"

ServerModel::ServerModel(QObject * parent)
    : QObject(parent)
{

}

const ARSWorkflowObjectList & ServerModel::workflowList() const
{
    return m_workflowList;
}

void ServerModel::setWorkflowList(const ARSWorkflowObjectList & list)
{
    m_workflowList = list;
}

void ServerModel::addWorkflowObject(ARSWorkflowObject * object)
{
    m_workflowList.append(object);
}

void ServerModel::clear()
{
    qDeleteAll(m_workflowList);
    m_workflowList.clear();
}
